import com.cheng.service.OrderService;
import com.cheng.service.ProductService;
import com.cheng.service.UserService;
import org.junit.runner.RunWith;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:applicationContext.xml")

public class test {

    @Autowired
    private UserService userService;

    @Autowired
    private OrderService orderService;



    @Test
    public void test(){
        System.out.println(orderService.querymerchantsOrder(1,8,"liming"));
    }





}
